﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using mmoss.orm;

namespace mmoss.configuration
{
    public static class mmossEvents
    {
        public delegate void checkinPatient(Patient l_patient);
        public static event checkinPatient PatientCheckIn;
        public static void raisePatient(Patient l_patient)
        {
            PatientCheckIn(l_patient);
        }
        //handler for textboxes
        public static void txtHandler(object sender, EventArgs e)
        {
            TextBox l_text = ((TextBox)sender);
            l_text.SelectAll();
            l_text.Focus();
        }

    }
}
